<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 100px;
            height: 100px;
            background-color: aquamarine;
        }
        span{
            width: 100px;
            height: 100px;
            background-color: aqua;
        }
    </style>
</head>
<body>
    <!--块级元素：独占一行、默认100%、可以通过css属性设置宽高、高度默认由元素撑起-->
    <div>块级元素</div>
    <p>段落标签</p>
    <h1>一级标题</h1>
    <h2>二级标题</h2>
    <h3>三级标题</h3>
    <h4>四级标题</h4>
    <h5>五级标题</h5>
    <h6>六级标题</h6>
    <section>块级元素</section>

    <!-- 行内元素：共享一行空间、高度由默认元素撑起、css设置属性不生效 -->
    <span>行内元素</span>
    <span>行内元素</span>
    <em>斜体</em>
    <i>斜体</i>
    <b>加粗</b>
    <strong>加粗</strong>
    <sub>下标</sub>
    <sup>上标</sup>
</body>
</html>